home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-09-30 | 1.3 KB | 54 lines | [TEXT/MPS ] |
- {---------------------------------------------------------------------
- #
- # Apple Macintosh Developer Technical Support
- #
- # MultiFinder-Aware Simple TextEdit Sample Application
- #
- # OOPTESample
- #
- # MTESample.p - Pascal Source
- #
- # Copyright © 1988, 1989 Apple Computer, Inc.
- # All rights reserved.
- #
- # Version:
- # 1.10 10/89
- # 1.00 04/89
- #
- # Components:
- # BuildOOPTESample October 1, 1989
- # MOOPTESample.p October 1, 1989
- # OOPTESample.make October 1, 1989
- # TECommon.h October 1, 1989
- # TESampleGlue.a October 1, 1989
- # TESample.r October 1, 1989
- # UApplication.p October 1, 1989
- # UApplication.inc1.p October 1, 1989
- # UDocument.p October 1, 1989
- # UDocument.inc1.p October 1, 1989
- # UTEDocument.p October 1, 1989
- # UTEDocument.inc1.p October 1, 1989
- # UTESample.p October 1, 1989
- # UTESample.inc1.p October 1, 1989
- #
- ---------------------------------------------------------------------}
-
- PROGRAM OOPTESample;
-
- USES
- { Macintosh Types }
- Types, QuickDraw, OSUtils, Controls, TextEdit, Traps,
- Events, Windows, SegLoad, ObjIntf,
-
- { Our types }
- UDocument, UApplication, UTEDocument, UTESample;
-
-
- BEGIN
- New(gTheApplication);
- IF gTheApplication = NIL THEN ExitToShell;
-
- gTheApplication.ITESample;
- gApplication := gTheApplication;
- gTheApplication.EventLoop;
- END.